examples: fix build of mux and resample_audio
authorSebastian Ramacher <sramacher@debian.org>
Sun, 16 Apr 2023 11:39:27 +0000 (13:39 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Sun, 24 Sep 2023 06:47:33 +0000 (07:47 +0100)
The commits 0a69ca656b7178c260f68d50d07b2e16a073050c and
cd8211527efbb9cad19db1c0d033da0749836e43 renamed the examples, but the
targets were not updated. Hence, the builds are missing -lm.

Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
Gbp-Pq: Name 0002-examples-fix-build-of-mux-and-resample_audio.patch

doc/examples/Makefile.example

index 01712f42d9466a43f3b399ae15681cdfab2a8f37..dee9ebf2f0b004186e5e060d26cf501b3e6a58b4 100644 (file)
@@ -43,8 +43,8 @@ OBJS=$(addsuffix .o,$(EXAMPLES))
 # the following examples make explicit use of the math library
 avcodec:           LDLIBS += -lm
 encode_audio:      LDLIBS += -lm
-muxing:            LDLIBS += -lm
-resampling_audio:  LDLIBS += -lm
+mux:               LDLIBS += -lm
+resample_audio:    LDLIBS += -lm
 
 .phony: all clean-test clean